import React from 'react'
//onCopy剪贴板复制事件
//onPaste剪贴板粘贴事件
//onCut剪贴板剪切事件
class ZhanTie extends React.Component{
    handleCopy=()=>{
        console.log(123);
    }
    handleCut=()=>{
        console.log(456);
    }
    handlePaste=()=>{
        console.log(789);
    }
    render(){
        return(
            <fieldset>
                <legend>
                    剪贴板
                </legend>
                <input type="text" onPaste={this.handlePaste} onCopy={this.handleCopy} onCut={this.handleCut} />
            </fieldset>
        )
    }
}
export default ZhanTie